// Copyright (c) 2020 Graphcore Ltd. All rights reserved.
// +/- Max half
#define MAX_HALF 0x7BFF
#define MIN_HALF 0xFBFF

// +/- Max half broadcast into 32 bits for half
#define MAX_HALF_BROADCAST 0x7BFF7BFF
#define MIN_HALF_BROADCAST 0xFBFFFBFF

// +/- Inf for float
#define MAX_FLOAT 0x7F800000
#define MIN_FLOAT 0xFF800000

#define HALF_1_0_BROADCAST 0x3c003c00

#define FLOAT_1_0 0x3f800000
